package com.linhngua.code.hibernate.config;

public class Database {
	private String jdbcUrl;

	private String userName;

	private String password;

	private String validationQuery;

	public Database(String jdbcUrl, String userName, String password,
			String validationQuery) {
		super();
		this.jdbcUrl = jdbcUrl;
		this.userName = userName;
		this.password = password;
		this.validationQuery = validationQuery;
	}

	public String getJdbcUrl() {

		return jdbcUrl;
	}

	public void setJdbcUrl(String jdbcUrl) {

		this.jdbcUrl = jdbcUrl;
	}

	public String getUserName() {

		return userName;
	}

	public void setUserName(String userName) {

		this.userName = userName;
	}

	public String getPassword() {

		return password;
	}

	public void setPassword(String password) {

		this.password = password;
	}

	public String getValidationQuery() {
		return validationQuery;
	}

	public void setValidationQuery(String validationQuery) {
		this.validationQuery = validationQuery;
	}

}
